﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminM.Master" AutoEventWireup="true" CodeBehind="LiuyanCk.aspx.cs" Inherits="XqWebSite.WebForm30" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">


        .style6
    {
        width: 174px;
            background-color: #8F9B82;
        }
        .style9
        {
            height: 9px;
        background-color: #8F9B82;
            text-decoration: underline;
        }
    .style8
    {
        text-align: center;
        font-family: 华文隶书;
        font-size: larger;
            color: #A3BAA5;
            background-color: #DDDFDB;
        }
        .style10
        {
            width: 100%;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="style1" style="height: 564px; width: 100%;">
        <tr>
            <td class="style6" rowspan="2">
                <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" 
                        StaticDisplayLevels="2" style="font-family: 楷体">
                </asp:Menu>
            </td>
            <td class="style9">
                <asp:SiteMapPath ID="SiteMapPath1" runat="server" style="font-family: 楷体" 
                    SiteMapProvider="AdminSiteMap">
                </asp:SiteMapPath>
            </td>
        </tr>
        <tr>
            <td class="style8">
                    <table class="style10">
                        <tr>
                            <td>
                                留言查看</td>
                        </tr>
                        <tr>
                            <td style="text-align: left">
                                公告ID： 
                                <asp:TextBox ID="Tex_ggid" runat="server"></asp:TextBox>
                                发布人ID：<asp:TextBox ID="Tex_fbrid" runat="server"></asp:TextBox>
                                <asp:Button ID="But_ss" runat="server" Text="搜索" onclick="But_ss_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                    AutoGenerateColumns="False" DataKeyNames="ID" 
                                    Height="375px" Width="1318px">
                                    <Columns>
                                        <asp:BoundField DataField="ID" HeaderText="公告ID" InsertVisible="False" 
                                            ReadOnly="True" SortExpression="ID" />
                                        <asp:BoundField DataField="NeiRong" HeaderText="公告内容" 
                                            SortExpression="NeiRong" />
                                        <asp:BoundField DataField="AdminID" HeaderText="发布人ID" 
                                            SortExpression="AdminID" />
                                        <asp:BoundField DataField="LiuYanNeiRong" HeaderText="留言内容" 
                                            SortExpression="LiuYanNeiRong" />
                                        <asp:BoundField DataField="LiuYanShiJian" HeaderText="留言时间" 
                                            SortExpression="LiuYanShiJian" />
                                        <asp:BoundField DataField="ZhuHuID" HeaderText="留言住户ID" 
                                            SortExpression="ZhuHuID" />
                                    </Columns>
                                </asp:GridView>
                                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:WuYeGuanLiConnectionString %>" 
                                    SelectCommand="SELECT [NeiRong], [ID], [LiuYanNeiRong], [LiuYanShiJian], [ZhuHuID], [AdminID] FROM [TongZhiGongGao]">
                                </asp:SqlDataSource>
                            </td>
                        </tr>
                    </table>
                    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" 
                        SiteMapProvider="AdminSiteMap" />
            </td>
        </tr>
    </table>
</asp:Content>
